<template>
    <div id="app" >
        <keep-alive>
            <router-view v-if="$route.meta.keepAlive"></router-view>
        </keep-alive>
        <router-view v-if='!$route.meta.keepAlive' />
    </div>
</template>
<script>
    export default {
        data () {
            return {
                
            }
        },
        created(){
            var token = this.$util.getLocal("token");
            this.$store.commit('setToken', token);
        }
    }
 
</script>

<style lang="less">
    
</style>


